package org.lyh.gift.client;

import org.lyh.gift.client.fallback.LoginUserFeignClientFallback;
import org.lyh.gift.domain.LoginUser;
import org.lyh.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(value = "gift-auth",path = "/loginUser",fallbackFactory = LoginUserFeignClientFallback.class)
public interface LoginUserFeignClient {
    @PutMapping
    AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
